﻿using SmartAssembly;

namespace AbstractBugTracker
{
    public interface IBugPresenter<TBug, TBugDef>
        where TBug : class, IBug
        where TBugDef : BugDef
    {
        void PresentNewBug(ProcessedReport processedReport, TBugDef bugDef);
        string GetReportCommentFor(TBug bug, ProcessedReport processedReport);
        string GetCausalBugCommentFor(TBug cause);
        string GetEffectBugCommentFor(TBug effect);
    }
}
